/**
 * @author gaopeng
 * @date 2019/12/21 8:44 下午
 */
public class Client {
    public static void main(String[] args) {
        HouseCorp houseCorp = new HouseCorp(new House());
        System.out.println("房地产公司。");
        houseCorp.makeMoney();

        SanZhaiCorp sanZhaiCorp = new SanZhaiCorp(new IPod());
        System.out.println("山寨公司。");
        sanZhaiCorp.makeMoney();
    }
}
